﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.realtime {
    import Engine.Events.*;
    import Engine.Managers.*;
    import Classes.sim.*;

    public class RealtimeObserver implements IPlayerStateObserver {

        public function RealtimeObserver(){
            Global.player.addObserver(this);
            TransactionManager.getInstance().addEventListener(TransactionEvent.ADDED, this.onTransactionAdded);
            TransactionManager.getInstance().addEventListener(TransactionEvent.COMPLETED, this.onTransactionCompleted);
        }
        public function energyChanged(_arg1:Number):void{
        }
        public function levelChanged(_arg1:int):void{
        }
        public function commodityChanged(_arg1:int, _arg2:String):void{
        }
        public function xpChanged(_arg1:int):void{
        }
        public function goldChanged(_arg1:int):void{
        }
        public function cashChanged(_arg1:int):void{
        }
        public function onTransactionAdded(_arg1:TransactionEvent):void{
        }
        public function onTransactionCompleted(_arg1:TransactionEvent):void{
        }

    }
}//package Modules.realtime 
